package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.entity.ResponseResult;
import com.example.demo.entity.Supplier;

public interface SupplierService extends IService<Supplier> {
    ResponseResult getList();

    ResponseResult getByName(String name);

    ResponseResult saveSupplier(Supplier supplier);

    ResponseResult updateSupplier(Supplier supplier);

    ResponseResult deleteById(String id);

    ResponseResult deleteByName(String name);
}
